(timeclock-workday-remaining): Changed logic for determining how much
authorJohn Wiegley <johnw@newartisans.com>
Tue, 8 May 2001 21:09:58 +0000 (21:09 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Tue, 8 May 2001 21:09:58 +0000 (21:09 +0000)
commit3e08834ad3343c149bc65c76296b78d8998249f5
treeb0c15b7c4cdfcb354936de694384cc17baa367cd
parentc39c345f3744e6ebc1f7315b15a9690bc72323b6
(timeclock-workday-remaining): Changed logic for determining how much
time is remaining.
(timeclock-workday-elapsed): Don't accept a "relative" argument for
the current day's elapsed time.  What could that have meant?
(timeclock-workday-elapsed-string): No "relative" argument anymore.
(timeclock-when-to-leave): Changed logic, similarly to what was done
for `timeclock-workday-remaining'.
(timeclock-find-discrep): Removed "today-only" argument, which had no
meaning.  Fixed some more math problems.  The function now returns a
three member list: (TOTAL-TIME-DISCREPANCY TODAYS-TIME-DISCREPANCY
TODAYS-ELAPSED-TIME).
lisp/calendar/timeclock.el